package com.liws.test.mapper;

import com.liws.test.entity.Person;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liws
 * @since 2023-04-15
 */
@Mapper
public interface PersonMapper extends BaseMapper<Person> {

    @Select("select * from person")
    List<Person> selectAll();

}
